<%@page contentType="text/html" pageEncoding="UTF-8"%>
 </div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
        <br />
        <script>
                            $(document).ready(function(){
                                $('input[name="api_type"]').each(function(){                       
                                    $(this).change(function(){
                                        var api_id = $(this).attr("id");
                                        switch(api_id){
                                            case "edbInStoreGet":                                    
                                            case "edbOutStoreGet":
                                                $('#type').attr("disabled", false);
                                                $('#date_type').attr("disabled", false);
                                                $('#end_time').attr("disabled", true);
                                                $('#begin_time').attr("disabled", true);
                                                break;
                                            case "edbProductBaseInfoGet":
                                              
                                            case "edbTradReturnGet":
                                                $('#type').attr("disabled", true);
                                                $('#date_type').attr("disabled", true);
                                                $('#end_time').attr("disabled", false);
                                                $('#begin_time').attr("disabled", false);
                                                break;
                                            case "edbTradeGet":
                                                $('#type').attr("disabled", true);
                                                $('#date_type').attr("disabled", false);
                                                $('#end_time').attr("disabled", false);
                                                $('#begin_time').attr("disabled", false);
                                                break;
                                        }
                                        
                                    });
                                });
                            })
        </script>